package org.jeecg.modules.business.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bus_living_customer
 * @Author: jeecg-boot
 * @Date:   2023-04-04
 * @Version: V1.0
 */
@Data
@TableName("bus_living_customer")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bus_living_customer对象", description="bus_living_customer")
public class BusLivingCustomer implements Serializable {
    private static final long serialVersionUID = 1L;

	/**key*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "key")
    private String id;
	/**同住人id*/
	@Excel(name = "同住人id", width = 15)
    @ApiModelProperty(value = "同住人id")
    private String customerId;
	/**入住接待订单id*/
	@Excel(name = "入住接待订单id", width = 15)
    @ApiModelProperty(value = "入住接待订单id")
    private String livingOrderId;
	/**房间id*/
	@Excel(name = "房间id", width = 15)
    @ApiModelProperty(value = "房间id")
    private String roomId;
	/**房间名称*/
	@Excel(name = "房间名称", width = 15)
    @ApiModelProperty(value = "房间名称")
    private String roomName;
	/**同住人名称*/
	@Excel(name = "同住人名称", width = 15)
    @ApiModelProperty(value = "同住人名称")
    private String customerName;
	/**同住人手机号*/
	@Excel(name = "同住人手机号", width = 15)
    @ApiModelProperty(value = "同住人手机号")
    private String phone;
	/**证件类型*/
	@Excel(name = "证件类型", width = 15)
    @ApiModelProperty(value = "证件类型")
    private Integer certType;
	/**证件号*/
	@Excel(name = "证件号", width = 15)
    @ApiModelProperty(value = "证件号")
    private String certNo;
	/**1男2女*/
	@Excel(name = "1男2女", width = 15)
    @ApiModelProperty(value = "1男2女")
    private Integer gender;
	/**添加时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "添加时间")
    private Date createTime;
	/**操作人*/
	@Excel(name = "操作人", width = 15)
    @ApiModelProperty(value = "操作人")
    private String createUser;

    @ApiModelProperty(value = "地址")
    @TableField(exist = false)
    private String address;
}
